{% extends 'QuestionPlusBundle:QuestionPlumberAdmin:layout.html.twig' %}

{% block title %}题目导入/导出 - {{ parent() }}{% endblock %}

{% set menu = 'plumber' %}

{% block main %}

{{ web_macro.flash_messages() }}

  <div class="page-header clearfix">
    <h1 class="pull-left">题目导入导出设置</h1>
  </div>

<form class="form-horizontal" method="post" id="member-zone-form" novalidate>
  
  <div class="row form-group">
    <div class="col-md-2 control-label">
      <label >题目导入/导出</label>
    </div>
    <div class="controls col-md-7 radios">
      {{ radios('enabled', {1:'开启', 0:'关闭'}, questionPlusSetting.enabled|default(1)) }}
      <div class="help-block">开启后，请从某个课程的题库管理中点击进入</div>
    </div>
  </div>

  

  <div class="row form-group">
    <div class="col-md-2 control-label"></div>
    <div class="controls col-md-8">
      <button type="submit" class="btn btn-primary">提交</button>  
    </div>
  </div>

  <input type="hidden" name="_csrf_token" value="{{ csrf_token('site') }}">
</form>

{% endblock %}
